<?php
	class SavingsAccount
	{
		private $money=0;
		private $holder;
		private $interest;
		private $period;
		
		public function __construct($money=0, $user=NULL)
		{
			if($money>0)
				$this->money=$money;
			if($user instanceof User)
			{
				$this->holder=$user;
				$user->setAccount($this);
			}
		}
		
		
		
	}

?>